package com.ruoyi.system.service;

import com.ruoyi.system.domain.DangKou;
import com.ruoyi.system.domain.DingDan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.DingDanDetail;

import java.util.List;

/**
 * <p>
 * 订单信息 服务类
 * </p>
 *
 * @author qubaofeng
 * @since 2025-02-16
 */
public interface IDingDanService extends IService<DingDan> {

    List<DangKou> selectDingDanList(DingDan user);

    boolean saveDingDan(DingDan user);

    DingDan getDetail(Long id);

    List<DingDan> listByUserId(Long userId);

    List<DingDanDetail> getDetailByRiQiAndCaiPin(String riQi, List<Long> huoPinId);

    boolean shehe(DingDan user);

    List<DingDan> listDingDanHistory(Long userId, Long huoPinId, String timeStart, String timeEnd);
}
